Skip to content

refactor: Updated Foundry Roles name#436

Open
AjitPadhi-Microsoft wants to merge 1 commit into
devfrom
PSL-US-43670
Open

refactor: Updated Foundry Roles name#436
AjitPadhi-Microsoft wants to merge 1 commit into
devfrom
PSL-US-43670

Conversation

@AjitPadhi-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

  • This pull request updates role assignments and related documentation to use the "Foundry User" role instead of "Azure AI User" for AI service resources. Additionally, it includes several changes to the generated infra/main.json template, primarily reflecting updates from a newer Bicep compiler version and minor dependency ordering adjustments.

Role assignment and documentation updates:

  • Updated comments and documentation in infra/main.bicep, infra/main_custom.bicep, and docs/LocalDevelopmentSetup.md to reference "Foundry User" instead of "Azure AI User" for role assignments. [1] [2] [3]

Infrastructure template and dependency updates:

  • Regenerated infra/main.json with Bicep version 0.43.8.12551 (was 0.42.1.51946), resulting in new templateHash values and minor metadata/description formatting changes. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Adjusted the order of dependencies in resource definitions within infra/main.json to group related DNS zones together more logically. [1] [2]

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the solution’s AI service role assignment references to use the “Foundry User” naming (replacing “Azure AI User”) and refreshes the generated ARM template output (infra/main.json) based on a newer Bicep compiler.

Changes:

  • Updated Bicep inline comments and local setup documentation to reference Foundry User.
  • Regenerated infra/main.json with Bicep 0.43.8.12551, updating generator metadata/template hashes and applying minor formatting/output differences.
  • Minor reordering of some dependsOn entries in infra/main.json (no functional change expected).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
infra/main.json Regenerated ARM template (updated Bicep generator metadata/hashes; minor output formatting and dependsOn ordering adjustments).
infra/main.bicep Updated role assignment comment to reflect “Foundry User” naming for the existing role definition ID.
infra/main_custom.bicep Kept in sync with main.bicep for the same role naming update.
docs/LocalDevelopmentSetup.md Updated example role assignment command to use the “Foundry User” role name.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants